# -*- coding: utf-8 -*-            
# @Time : 2023/4/3 22:22
# @Author  : lining
# @FileName: n的阶乘.py
def jiecheng(n):
    if n==1:
        return n
    return n*jiecheng(n-1)